﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 三坐标产品依赖参数
    /// </summary>
    [SugarTable("cks_cmm_product")]
    [Table(Name = "cks_cmm_product")]
    public class CksCMMProduct : BaseEntity
    {
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        /// 设备Id
        /// </summary>
        public int DeviceId { get; set; }

        /// <summary>
        /// 产线Id
        /// </summary>
        public int LineId { get; set; }

        public bool Uploaded { get; set; } = false;
    }
}